package com.kingwang.study.liquibase.spring.data.jpa.entity;

import lombok.Getter;
import lombok.Setter;
import org.postgis.PGgeometry;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@Table(name = "tb_test")
public class Test {
    @Id
    @Column(name = "id", nullable = false, length = 36)
    private String id;

    @Column(name = "geo")
    private PGgeometry geo;

}